﻿#include "teamdialog.h"
#include "teamdialog_2.h"
#include "operation.h"
#include "read.h"
#include "sent.h"
#include "exitview.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    TeamDialog w;
    TeamDialog_2 d;
    head1:w.show();
    if(w.exec()== QDialog::Accepted)
    {
        goto head2;
    }
    else if(w.exec()== QDialog::Rejected)
    {
        return a.exec();
    }
    head2:d.show();
    if(d.exec()==QDialog::Accepted){
       goto head1;
    }
}
